package com.eight.cloud.auth.controller;

import com.eight.cloud.core.global.result.Result;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * 服务器管理接口
 *
 * @ClassName: ServerController
 * @Author: TXC
 * @Date: 2024-12-18 14:59
 **/
@RestController
@RequestMapping("/api/v1")
public class ServerController {
    /**
     * 服务心跳 用于k8s启动
     * @return
     */
    @RequestMapping("/heart")
    public Result<?> heart() {
        return Result.ok();
    }
}
